package com.tasly.score.core.api;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description: ScoreServiceApi（远程调用，熔断触发）
 * @Author: sunpengpeng
 * @Date: Create in 18/1/9 16:31
 * @Modified By:
 */
@RestController
public interface ScoreService {

    @RequestMapping(value = "/{uid}",method = RequestMethod.GET)
    String getScore(@PathVariable("uid") Long uid);
}
